import { setItem, getItem } from "@/utils/localstorage";
import { nanoid } from "nanoid";
const userTempId = "userTempId";
function userTempIdno() {
  if (getItem(userTempId)) {
    return getItem(userTempId);
  }
  const userTempIdnano = nanoid();
  setItem(userTempId, userTempIdnano);
  return userTempIdnano;
}

export default userTempIdno;